<h1>Employee Application</h1>

<%= form_tag(controller: 'applicant', action: 'start_questionnaire', method: 'get') do %>
    <%= hidden_field_tag 'post_id', @post_id %>
    <%= hidden_field_tag 'position_id', @position_id %>

    <%= label_tag(:first, 'First Name:') %> <br>
    <%= text_field_tag(:first) %> <br>

    <%= label_tag(:last, 'Last Name:') %> <br>
    <%= text_field_tag(:last) %> <br>

    <%= label_tag(:middle, 'Middle Name:') %> <br>
    <%= text_field_tag(:mi) %> <br>

    <%= label_tag(:phone, 'Phone Number:') %> <br>
    <%= text_field_tag(:phone) %> <br>

    <%= label_tag(:dob, 'Date of Birth:') %> <br>
    <%= date_field_tag(:dob) %> <br>

    <%= label_tag(:street, 'Street Address:') %> <br>
    <%= text_field_tag(:street) %> <br>

    <%= label_tag(:city, 'City:') %> <br>
    <%= text_field_tag(:city) %> <br>

    <%= label_tag(:state, 'State:') %> <br>
    <%= text_field_tag(:state) %> <br>

    <%= label_tag(:zip, 'Zip Code:') %> <br>
    <%= text_field_tag(:zip) %> <br>

    <%= label_tag(:ssn, 'SSN:') %> <br>
    <%= text_field_tag(:ssn) %> <br> <br>

    <%= label_tag(:transport, 'Do you have reliable transportation?') %>
    Yes <%= radio_button_tag(:transport, ' Yes ') %>
    No <%= radio_button_tag(:transport, ' No ') %><br>

    <%= label_tag(:legal, 'Are you legally allowed to work in the US?') %>
    Yes <%= radio_button_tag(:legal, ' Yes ') %>
    No <%= radio_button_tag(:legal, ' No ') %><br>

    <%= label_tag(:felon, 'Have you ever been convicted of a felony?') %>
    Yes <%= radio_button_tag(:felon, ' Yes ') %>
    No <%= radio_button_tag(:felon, ' No ') %><br>

    <br><%= submit_tag('Submit and Continue') %>
<% end %>